#define	ERR_OK					0

#define	ERR_UDP_SERVICE		1001
#define	ERR_UDP_SOCKCR			1002
#define	ERR_UDP_BIND			1003
#define	ERR_UDP_SEND			1004
#define	ERR_UDP_RECV			1005
#define	ERR_HOSTNAME			1006

#define	ERR_SOCKET_OPT			1010
#define	ERR_TCP_SERVICE		1011
#define	ERR_TCP_SOCKCR			1012
#define	ERR_TCP_CONNECT		1013
#define	ERR_LOGON				1014
#define	ERR_LOGONSTRING		1015

#define	ERR_NWUNAVAILABLE		2000
#define	ERR_MAXCONNECTS		2001
#define	ERR_NOMEMORY			2002
#define	ERR_INVALIDMSG			2003
#define	ERR_INVALIDCONNECT	2004
#define	ERR_MSGTOOLONG			2005
#define	ERR_NOMESSAGE			2006
#define	ERR_REPLYEXPECTED		2007
#define	ERR_FORWARDED			2008
#define	ERR_PKTINPROGRESS		2009
#define	ERR_PKTNOTSTARTED		2010
#define	ERR_REPLYNOTEXPECTED	2011
#define	ERR_RECONNECT			2013

#define	ERR_QUEUECR				5001

#define ERR_TSMRNOTINIT			6001


